/*
 * @Description:
 * @Autor: zhangbing
 * @Date: 2021-07-27 17:03:57
 * @LastEditors: zhangbing
 * @LastEditTime: 2021-07-27 22:15:27
 */

import { axiosGet } from '@/libs/http'

function getData(consName, type) {
  return new Promise((resolve, reject) => {
    axiosGet({
      url: `/api/constellation/getAll?consName=${consName}&type=${type}`,
      success(data) {
        resolve(data)
      }
    })
  })
}

export {
  getData
}
